<?php

namespace App\DashboardBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * App\DashboardBundle\Entity\ProductKey
 */
class ProductKey
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $attributeId
     */
    private $attributeId;

    /**
     * @var integer $quantity
     */
    private $quantity;

    /**
     * @var float $price
     */
    private $price;

    /**
     * @var \DateTime $createdDate
     */
    private $createdDate;

    /**
     * @var \DateTime $updatedDate
     */
    private $updatedDate;

    /**
     * @var integer $updatedUserId
     */
    private $updatedUserId;

    /**
     * @var integer $isActive
     */
    private $isActive;

    /**
     * @var App\DashboardBundle\Entity\User
     */
    private $createdUser;

    /**
     * @var App\DashboardBundle\Entity\Product
     */
    private $product;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set attributeId
     *
     * @param integer $attributeId
     * @return ProductKey
     */
    public function setAttributeId($attributeId)
    {
        $this->attributeId = $attributeId;
    
        return $this;
    }

    /**
     * Get attributeId
     *
     * @return integer 
     */
    public function getAttributeId()
    {
        return $this->attributeId;
    }

    /**
     * Set quantity
     *
     * @param integer $quantity
     * @return ProductKey
     */
    public function setQuantity($quantity)
    {
        $this->quantity = $quantity;
    
        return $this;
    }

    /**
     * Get quantity
     *
     * @return integer 
     */
    public function getQuantity()
    {
        return $this->quantity;
    }

    /**
     * Set price
     *
     * @param float $price
     * @return ProductKey
     */
    public function setPrice($price)
    {
        $this->price = $price;
    
        return $this;
    }

    /**
     * Get price
     *
     * @return float 
     */
    public function getPrice()
    {
        return $this->price;
    }

    /**
     * Set createdDate
     *
     * @param \DateTime $createdDate
     * @return ProductKey
     */
    public function setCreatedDate($createdDate)
    {
        $this->createdDate = $createdDate;
    
        return $this;
    }

    /**
     * Get createdDate
     *
     * @return \DateTime 
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }

    /**
     * Set updatedDate
     *
     * @param \DateTime $updatedDate
     * @return ProductKey
     */
    public function setUpdatedDate($updatedDate)
    {
        $this->updatedDate = $updatedDate;
    
        return $this;
    }

    /**
     * Get updatedDate
     *
     * @return \DateTime 
     */
    public function getUpdatedDate()
    {
        return $this->updatedDate;
    }

    /**
     * Set updatedUserId
     *
     * @param integer $updatedUserId
     * @return ProductKey
     */
    public function setUpdatedUserId($updatedUserId)
    {
        $this->updatedUserId = $updatedUserId;
    
        return $this;
    }

    /**
     * Get updatedUserId
     *
     * @return integer 
     */
    public function getUpdatedUserId()
    {
        return $this->updatedUserId;
    }

    /**
     * Set isActive
     *
     * @param integer $isActive
     * @return ProductKey
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return integer 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set createdUser
     *
     * @param App\DashboardBundle\Entity\User $createdUser
     * @return ProductKey
     */
    public function setCreatedUser(\App\DashboardBundle\Entity\User $createdUser = null)
    {
        $this->createdUser = $createdUser;
    
        return $this;
    }

    /**
     * Get createdUser
     *
     * @return App\DashboardBundle\Entity\User 
     */
    public function getCreatedUser()
    {
        return $this->createdUser;
    }

    /**
     * Set product
     *
     * @param App\DashboardBundle\Entity\Product $product
     * @return ProductKey
     */
    public function setProduct(\App\DashboardBundle\Entity\Product $product = null)
    {
        $this->product = $product;
    
        return $this;
    }

    /**
     * Get product
     *
     * @return App\DashboardBundle\Entity\Product 
     */
    public function getProduct()
    {
        return $this->product;
    }
    /**
     * @var integer $createdUserId
     */
    private $createdUserId;


    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return ProductKey
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;
    
        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }
}